package com.ruoyi.bantong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 红包玩法详情对象 bt_redbag_poll_details
 * 
 * @author laohei
 * @date 2021-02-06
 */
public class BtRedbagPollDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer rpdId;

    /** 奖池id */
    @Excel(name = "奖池id")
    private Integer rpId;

    /** userid */
    @Excel(name = "userid")
    private Integer userId;

    /** 用户头像 */
    private String avatar;
    /** 用户姓名 */
    private String name;

    /** 奖券ID */
    @Excel(name = "奖券ID")
    private Integer utId;

    /** 结果 0失败 1成功 */
    @Excel(name = "结果 0失败 1成功")
    private Integer result;

    public void setRpdId(Integer rpdId) 
    {
        this.rpdId = rpdId;
    }

    public Integer getRpdId() 
    {
        return rpdId;
    }
    public void setRpId(Integer rpId) 
    {
        this.rpId = rpId;
    }

    public Integer getRpId() 
    {
        return rpId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setUtId(Integer utId) 
    {
        this.utId = utId;
    }

    public Integer getUtId() 
    {
        return utId;
    }
    public void setResult(Integer result) 
    {
        this.result = result;
    }

    public Integer getResult() 
    {
        return result;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rpdId", getRpdId())
            .append("rpId", getRpId())
            .append("userId", getUserId())
            .append("utId", getUtId())
            .append("result", getResult())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
